<?php
// +----------------------------------------------------------------------
// | 牛逼网 [快乐 开放 游戏]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 http://www.nniubi.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: zhy <345933361@qq.com>
// +----------------------------------------------------------------------
namespace Admin\Model;

use Common\Model\ModelModel;

/**
 * 用户模型
 * @author zhy <345933361@qq.com>
 */
class ListModel extends ModelModel
{
    /**
     * 数据库表名
     * @author zhy <345933361@qq.com>
     */
    protected $tableName = 'admin_article';

    /**
     * 自动验证规则
     * @author zhy <345933361@qq.com>
     */
    protected $_validate = array(

    );

    /**
     * 自动完成规则
     * @author zhy <345933361@qq.com>
     */
    protected $_auto = array(
        array('add_time', 'time', self::MODEL_INSERT, 'function'),
        array('status', '1', self::MODEL_INSERT),
    );


}
